package task1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-05-12
 * Time:12:53
 */
public class PolyDemo {
    public static void main(String[] args) {
        Rectangle rectangle=new Rectangle("黑色",3.0,5.0);
        Circle circle=new Circle("黑色",3);
        rectangle.shoeAll();
        circle.shoeAll();
    }
}
